//
//  TutorialProjectViewController.h
//  TutorialProject
//
//  Created by Ondrej Rafaj on 5.8.09.
//  Copyright Home 2009. All rights reserved.
//

#import <UIKit/UIKit.h>

// ------ Tutorial code starts here ------

#import "JSON.h"
#import "ASIFormDataRequest.h"

// ------ Tutorial code ends here ------

@interface TutorialProjectViewController : UIViewController {
	
	// ------ Tutorial code starts here ------
	
	IBOutlet UITextField *fieldName;
	IBOutlet UITextField *fieldSurname;
	IBOutlet UITextField *fieldMail;
	IBOutlet UITextField *fieldSubject;
	IBOutlet UITextField *fieldMessage;
	
	IBOutlet UILabel *resultLabel;
	
	// ------ Tutorial code ends here ------
	
	
}

// ------ Tutorial code starts here ------

@property (nonatomic, retain) IBOutlet UITextField *fieldName;
@property (nonatomic, retain) IBOutlet UITextField *fieldSurname;
@property (nonatomic, retain) IBOutlet UITextField *fieldMail;
@property (nonatomic, retain) IBOutlet UITextField *fieldSubject;
@property (nonatomic, retain) IBOutlet UITextField *fieldMessage;

@property (nonatomic, retain) IBOutlet UILabel *resultLabel;

- (IBAction)sendMessage:(UIButton *)sender;

// ------ Tutorial code ends here ------

// This function is for button which takes you to the xprogress.com website
- (IBAction) runXprogressComButton: (id) sender;

@end

